package org.arch_learn.servlet_container.components.container;

import java.util.HashMap;
import java.util.Map;

public class Host {
    private String host;
    private String appBase;
    private Map<String, Context> contexts;



    public Host(String host,String appBase) {
        this.host = host;
        this.appBase = appBase;
        this.contexts = new HashMap<>();
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    public Map<String, Context> getContexts() {
        return contexts;
    }

    public void setContexts(Map<String, Context> contexts) {
        this.contexts = contexts;
    }
}
